package com.itheima.pattern.t4_builder.demo2;

/**
 * 建造者模式-简化
 */
public class TestDemo {

    public static void main(String[] args) {
        Builder builder = new OfoBuilder();
        Bike bike = builder.construct();

        System.out.println(bike.getFrame());
        System.out.println(bike.getSeat());
    }
}
